package com.android.weibogo;

import com.android.weibogo.WeibogoData.Accounts;

import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
import com.android.weibogo.R;
import android.content.Intent;
import android.os.Handler;

public class weibogo extends Activity {
    
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        LinearLayout layout = (LinearLayout)findViewById(R.id.layout);
        layout.setBackgroundResource(R.drawable.first);       
        Handler x = new Handler();
        x.postDelayed(new splashhandler(), 1000);
    }
    
    class splashhandler implements Runnable{

        public void run() {
        	Intent intent = new Intent(getApplication(), WeiboHome.class);
            startActivity(intent);
            weibogo.this.finish();
        }       
    }
}
